package com.eve.common.util;

import java.text.MessageFormat;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;


public class LogUtils {
	
	private final  static Log mydebug  = LogFactory.getLog("mydebug");
	public static void writeLog(Object message) {
		mydebug.info(message.toString());
	}
	
	public static void writeExceptionLog(Exception e) {
		mydebug.info("",e);
	}
	
	public static void infoFormat(String format, Object... arguments) {
		 format = MessageFormat.format(format, arguments);
		 mydebug.info(format);
	}
}
